package cn.livingCloud.dto;

import cn.livingCloud.entity.core.Employee;

/**
 * Created by 唐旭 on 2016/6/1.
 */
public class EmployeeJsonDto {
    private String uuid;
    private String name;
    private String deptName;

    public EmployeeJsonDto() {
    }

    public EmployeeJsonDto(Employee employee) {
        this.uuid = employee.getUuid();
        this.name = employee.getName();
        this.deptName = employee.getDept().getName();
    }

    public String getDeptName() {
        return deptName;
    }

    public EmployeeJsonDto setDeptName(String deptName) {
        this.deptName = deptName;
        return this;
    }

    public String getName() {
        return name;
    }

    public EmployeeJsonDto setName(String name) {
        this.name = name;
        return this;
    }

    public String getUuid() {
        return uuid;
    }

    public EmployeeJsonDto setUuid(String uuid) {
        this.uuid = uuid;
        return this;
    }
}
